package com.ychen.goodscenter.enums;

public enum OrderStatusEnum {
    // 创建中
    CREATING((byte) 1,"创建中"),
    // 支付中
    PAYING((byte) 2,"支付中"),
    PAID((byte) 3,"已支付"),
    CANCELED((byte) 11,"已取消"),
    PAYMENT_FAILED((byte) 12,"支付失败"),

    ;
    private String message;
    private Byte code;

    OrderStatusEnum(Byte code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public Byte getCode() {
        return code;
    }
}
